-- GENERATED SPELL FOR [Plagued Construct] --


function spell0_16982(pUnit, Event) --@Brutal Swipe,n/a--
pUnit:FullCastSpellOnTarget(56586,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16982', 637, 1)
end

function Sorts_16982(pUnit, Event)
local choix_sorts_16982 = math.random(0, 0)
if choix_sorts_16982 == 0 then
pUnit:RegisterEvent('spell0_16982', 1, 1)
end
end

function mob16982_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16982', math.random(1500, 3000), 1)
end

function mob16982_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16982_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16982_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16982, 1, 'mob16982_Action')
RegisterUnitEvent(16982, 2, 'mob16982_Leave')
RegisterUnitEvent(16982, 3, 'mob16982_Kill')
RegisterUnitEvent(16982, 4, 'mob16982_Die')
